home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
i
/
imagefxv2.1a.lha
/
ImageFX
/
Rexx
/
AutoFX
/
Adjust_RGB.ifx
< prev
next >
Wrap
Text File
|
1996-03-02
|
511b
|
26 lines
/*
* Adjust_RGB.ifx
* Script to alter the red, green, and/or blue values
* of pixels in an image: The PreScript sets up the
* ImpAlterRGBParameters clip variable with the
* RGB deltas.
*
* by Steve Tibbett
*/
Options Results
SeqNum=Word(Arg(1),4);
Settings=GetClip("ImpAdjustRGBParameters"SeqNum);
if (Settings="") then do
RequestNotify "ImpAdjustRGBParameters invalid in ImpAdjustRGB.ifx"
return 20
End
Parse Var Settings R G B
If (R~=0) then Red R
If (G~=0) then Green G
If (B~=0) then Blue B